package cn.lyn4ever.entity;

import java.util.Date;
import java.io.Serializable;

/**
 * 商品的sku表，每一个商品对应多个sku表(GoodsSku)实体类
 *
 * @author makejava
 * @since 2020-03-26 22:55:29
 */
public class GoodsSku implements Serializable {
    private static final long serialVersionUID = 646818735681271014L;
    /**
    *  id
    */
    private Integer id;
    /**
    * spu的id
    */
    private Integer spuId;
    /**
    * sku详情
    */
    private String detail;
    /**
    * 库存
    */
    private Long stock;
    /**
    * 价格
    */
    private Double price;
    
    private Date createTime;
    
    private Date updateTime;
    
    private String operator;
    /**
    * 状态 0 审核中,1 正常，2 已下架
    */
    private String zt;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getSpuId() {
        return spuId;
    }

    public void setSpuId(Integer spuId) {
        this.spuId = spuId;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public Long getStock() {
        return stock;
    }

    public void setStock(Long stock) {
        this.stock = stock;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    public String getZt() {
        return zt;
    }

    public void setZt(String zt) {
        this.zt = zt;
    }

}